

package com.kimo.shop.dao;

import com.kimo.shop.bean.model.ShopDetail;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

public interface ShopDetailMapper extends BaseMapper<ShopDetail> {

    Integer getIsDistributionByShopId(Long shopId);

    double getDistance(@Param("lat") Double lat, @Param("lng") Double lng, @Param("shopId") Long shopId);
}
